-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven Resolver: initialize Maven properly, especially the local repository #45794
Maven Resolver: initialize Maven properly, especially the local repository #45794
Conversation
.../maven-resolver/src/main/java/io/quarkus/bootstrap/resolver/maven/BootstrapMavenContext.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @Ladicek Thanks a lot!
This comment has been minimized.
This comment has been minimized.
b5fe0f5
to
9e56392
Compare
This comment has been minimized.
This comment has been minimized.
…itory The `BootstrapMavenContext.newRepositorySystemSession()` method is now a lot closer to `DefaultRepositorySystemSessionFactory.newRepositorySession()`, especially around how it initializes the `LocalRepositoryManager`. It is now done _after_ setting up the config properties on the `RepositorySystemSession`, which has also been fixed (to include the properties of all active profiles, including those in `settings.xml`). Furhter, this commit renames 2 files to match the name of the (non-`public`) class declared in them, and fixes self type emulation in `BootstrapMavenContextConfig`.
9e56392
to
d032483
Compare
Status for workflow
|
The
BootstrapMavenContext.newRepositorySystemSession()
method is now a lot closer toDefaultRepositorySystemSessionFactory.newRepositorySession()
, especially around how it initializes theLocalRepositoryManager
. It is now done after setting up the config properties on theRepositorySystemSession
, which has also been fixed (to include the properties of all active profiles, including those insettings.xml
).Furhter, this commit renames 2 files to match the name of the (non-
public
) class declared in them, and fixes self type emulation inBootstrapMavenContextConfig
.Fixes #44484